﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Xml.Linq;

namespace LightWeightORM
{
    namespace ORM
    {
        namespace MappingAttribute
        {

            /// <summary>
            /// Summary description for DataFieldAttribute
            /// </summary>
            public class DataFieldAttribute : Attribute
            {
                private string _FieldName;
                private string _FieldType;

                public string FieldName
                {
                    get { return this._FieldName; }
                    set { this._FieldName = value; }
                }
                public string FieldType
                {
                    get { return this._FieldType; }
                    set { this._FieldType = value; }
                }

                public DataFieldAttribute(string fieldname, string fieldtype)
                {
                    this._FieldName = fieldname;
                    this._FieldType = fieldtype;
                }
            }
        }

    }
}